.class public Lcom/instagram/android/model/ShareLaterMedia;
.super Ljava/lang/Object;
.source "ShareLaterMedia.java"

# interfaces
.implements Landroid/os/Parcelable;
.implements Lcom/instagram/model/a/b;


# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator",
            "<",
            "Lcom/instagram/android/model/ShareLaterMedia;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field private a:Z

.field private b:Z

.field private c:Z

.field private d:Z

.field private e:Z

.field private f:Z

.field private g:Ljava/lang/String;

.field private h:Ljava/lang/String;

.field private i:Lcom/instagram/model/a/a;

.field private j:Ljava/lang/String;

.field private k:Lcom/instagram/venue/model/Venue;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 221
    new-instance v0, Lcom/instagram/android/model/l;

    invoke-direct {v0}, Lcom/instagram/android/model/l;-><init>()V

    sput-object v0, Lcom/instagram/android/model/ShareLaterMedia;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method private constructor <init>(Landroid/os/Parcel;)V
    .locals 2
    .parameter "in"

    .prologue
    .line 235
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 236
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->g:Ljava/lang/String;

    .line 237
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->h:Ljava/lang/String;

    .line 238
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    invoke-static {v0}, Lcom/instagram/model/a/a;->a(I)Lcom/instagram/model/a/a;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->i:Lcom/instagram/model/a/a;

    .line 239
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->j:Ljava/lang/String;

    .line 240
    const-class v0, Lcom/instagram/venue/model/Venue;

    invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Lcom/instagram/venue/model/Venue;

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->k:Lcom/instagram/venue/model/Venue;

    .line 242
    invoke-static {}, Lcom/instagram/android/model/m;->values()[Lcom/instagram/android/model/m;

    move-result-object v0

    array-length v0, v0

    new-array v0, v0, [Z

    .line 243
    invoke-virtual {p1, v0}, Landroid/os/Parcel;->readBooleanArray([Z)V

    .line 245
    sget-object v1, Lcom/instagram/android/model/m;->a:Lcom/instagram/android/model/m;

    invoke-virtual {v1}, Lcom/instagram/android/model/m;->ordinal()I

    move-result v1

    aget-boolean v1, v0, v1

    iput-boolean v1, p0, Lcom/instagram/android/model/ShareLaterMedia;->a:Z

    .line 246
    sget-object v1, Lcom/instagram/android/model/m;->b:Lcom/instagram/android/model/m;

    invoke-virtual {v1}, Lcom/instagram/android/model/m;->ordinal()I

    move-result v1

    aget-boolean v1, v0, v1

    iput-boolean v1, p0, Lcom/instagram/android/model/ShareLaterMedia;->b:Z

    .line 247
    sget-object v1, Lcom/instagram/android/model/m;->c:Lcom/instagram/android/model/m;

    invoke-virtual {v1}, Lcom/instagram/android/model/m;->ordinal()I

    move-result v1

    aget-boolean v1, v0, v1

    iput-boolean v1, p0, Lcom/instagram/android/model/ShareLaterMedia;->c:Z

    .line 248
    sget-object v1, Lcom/instagram/android/model/m;->d:Lcom/instagram/android/model/m;

    invoke-virtual {v1}, Lcom/instagram/android/model/m;->ordinal()I

    move-result v1

    aget-boolean v1, v0, v1

    iput-boolean v1, p0, Lcom/instagram/android/model/ShareLaterMedia;->d:Z

    .line 249
    sget-object v1, Lcom/instagram/android/model/m;->e:Lcom/instagram/android/model/m;

    invoke-virtual {v1}, Lcom/instagram/android/model/m;->ordinal()I

    move-result v1

    aget-boolean v1, v0, v1

    iput-boolean v1, p0, Lcom/instagram/android/model/ShareLaterMedia;->e:Z

    .line 250
    sget-object v1, Lcom/instagram/android/model/m;->f:Lcom/instagram/android/model/m;

    invoke-virtual {v1}, Lcom/instagram/android/model/m;->ordinal()I

    move-result v1

    aget-boolean v0, v0, v1

    iput-boolean v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->f:Z

    .line 251
    return-void
.end method

.method synthetic constructor <init>(Landroid/os/Parcel;Lcom/instagram/android/model/l;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 25
    invoke-direct {p0, p1}, Lcom/instagram/android/model/ShareLaterMedia;-><init>(Landroid/os/Parcel;)V

    return-void
.end method

.method public constructor <init>(Lcom/instagram/j/l;)V
    .locals 1
    .parameter "media"

    .prologue
    .line 47
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 48
    invoke-virtual {p1}, Lcom/instagram/j/l;->o()Lcom/instagram/j/b;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 49
    invoke-virtual {p1}, Lcom/instagram/j/l;->o()Lcom/instagram/j/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/j/b;->e()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->g:Ljava/lang/String;

    .line 51
    :cond_0
    invoke-virtual {p1}, Lcom/instagram/j/l;->c()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->h:Ljava/lang/String;

    .line 52
    invoke-virtual {p1}, Lcom/instagram/j/l;->h()Lcom/instagram/model/a/a;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->i:Lcom/instagram/model/a/a;

    .line 53
    invoke-virtual {p1}, Lcom/instagram/j/l;->e()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->j:Ljava/lang/String;

    .line 54
    invoke-virtual {p1}, Lcom/instagram/j/l;->B()Lcom/instagram/venue/model/Venue;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->k:Lcom/instagram/venue/model/Venue;

    .line 55
    return-void
.end method


# virtual methods
.method public a()Ljava/lang/String;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->j:Ljava/lang/String;

    return-object v0
.end method

.method public a(Lcom/instagram/android/d/b/c;)V
    .locals 3
    .parameter

    .prologue
    .line 68
    const-string v0, "media_id"

    invoke-virtual {p0}, Lcom/instagram/android/model/ShareLaterMedia;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 69
    const-string v0, "caption"

    invoke-virtual {p0}, Lcom/instagram/android/model/ShareLaterMedia;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 72
    invoke-virtual {p0}, Lcom/instagram/android/model/ShareLaterMedia;->k()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 73
    invoke-static {}, Lcom/instagram/android/w/a;->a()Lcom/instagram/android/w/a;

    move-result-object v0

    .line 74
    invoke-virtual {v0}, Lcom/instagram/android/w/a;->g()Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    .line 75
    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {p1, v1, v0}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 79
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/model/ShareLaterMedia;->f()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 80
    invoke-static {}, Lcom/instagram/android/u/a;->b()Lcom/instagram/android/u/a;

    move-result-object v0

    .line 81
    invoke-virtual {v0}, Lcom/instagram/android/u/a;->h()Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    .line 82
    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {p1, v1, v0}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    .line 86
    :cond_1
    invoke-virtual {p0}, Lcom/instagram/android/model/ShareLaterMedia;->g()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 87
    invoke-static {}, Lcom/instagram/android/i/a;->b()Lcom/instagram/android/i/a;

    move-result-object v0

    .line 88
    invoke-virtual {v0}, Lcom/instagram/android/i/a;->d()Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_2
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    .line 89
    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {p1, v1, v0}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    .line 93
    :cond_2
    invoke-virtual {p0}, Lcom/instagram/android/model/ShareLaterMedia;->h()Z

    move-result v0

    if-eqz v0, :cond_4

    .line 94
    invoke-static {}, Lcom/instagram/android/g/b;->a()Lcom/facebook/a/b;

    move-result-object v1

    .line 95
    invoke-static {}, Lcom/instagram/android/g/b;->h()Lcom/instagram/android/model/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/model/c;->a()Ljava/lang/String;

    move-result-object v0

    .line 96
    invoke-static {v0}, Lcom/instagram/n/i;->a(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 98
    invoke-virtual {v1}, Lcom/facebook/a/b;->c()Ljava/lang/String;

    move-result-object v0

    .line 101
    :cond_3
    const-string v1, "share_to_facebook"

    const-string v2, "1"

    invoke-virtual {p1, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 102
    const-string v1, "fb_access_token"

    invoke-virtual {p1, v1, v0}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 105
    :cond_4
    invoke-virtual {p0}, Lcom/instagram/android/model/ShareLaterMedia;->i()Z

    move-result v0

    if-eqz v0, :cond_5

    .line 106
    invoke-static {}, Lcom/instagram/android/foursquare/a;->a()Lcom/instagram/android/foursquare/a;

    move-result-object v0

    .line 108
    const-string v1, "share_to_foursquare"

    const-string v2, "1"

    invoke-virtual {p1, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 109
    const-string v1, "foursquare_access_token"

    invoke-virtual {v0}, Lcom/instagram/android/foursquare/a;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v1, v0}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 112
    :cond_5
    invoke-virtual {p0}, Lcom/instagram/android/model/ShareLaterMedia;->j()Z

    move-result v0

    if-eqz v0, :cond_6

    .line 113
    invoke-static {}, Lcom/instagram/android/t/a;->b()Lcom/instagram/android/t/a;

    move-result-object v0

    .line 115
    const-string v1, "share_to_tumblr"

    const-string v2, "1"

    invoke-virtual {p1, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 116
    const-string v1, "tumblr_access_token_key"

    invoke-virtual {v0}, Lcom/instagram/android/t/a;->e()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p1, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 117
    const-string v1, "tumblr_access_token_secret"

    invoke-virtual {v0}, Lcom/instagram/android/t/a;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v1, v0}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 119
    :cond_6
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 0
    .parameter

    .prologue
    .line 132
    iput-object p1, p0, Lcom/instagram/android/model/ShareLaterMedia;->g:Ljava/lang/String;

    .line 133
    return-void
.end method

.method public a(Z)V
    .locals 0
    .parameter

    .prologue
    .line 142
    iput-boolean p1, p0, Lcom/instagram/android/model/ShareLaterMedia;->a:Z

    .line 143
    return-void
.end method

.method public b()Ljava/lang/String;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->h:Ljava/lang/String;

    return-object v0
.end method

.method public b(Z)V
    .locals 0
    .parameter

    .prologue
    .line 147
    iput-boolean p1, p0, Lcom/instagram/android/model/ShareLaterMedia;->b:Z

    .line 148
    return-void
.end method

.method public c()Lcom/instagram/model/a/a;
    .locals 1

    .prologue
    .line 123
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->i:Lcom/instagram/model/a/a;

    return-object v0
.end method

.method public c(Z)V
    .locals 0
    .parameter

    .prologue
    .line 152
    iput-boolean p1, p0, Lcom/instagram/android/model/ShareLaterMedia;->c:Z

    .line 153
    return-void
.end method

.method public d()Ljava/lang/String;
    .locals 1

    .prologue
    .line 128
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->g:Ljava/lang/String;

    return-object v0
.end method

.method public d(Z)V
    .locals 0
    .parameter

    .prologue
    .line 157
    iput-boolean p1, p0, Lcom/instagram/android/model/ShareLaterMedia;->d:Z

    .line 158
    return-void
.end method

.method public describeContents()I
    .locals 1

    .prologue
    .line 202
    const/4 v0, 0x0

    return v0
.end method

.method public e(Z)V
    .locals 0
    .parameter

    .prologue
    .line 162
    iput-boolean p1, p0, Lcom/instagram/android/model/ShareLaterMedia;->e:Z

    .line 163
    return-void
.end method

.method public e()Z
    .locals 1

    .prologue
    .line 137
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->k:Lcom/instagram/venue/model/Venue;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public f(Z)V
    .locals 0
    .parameter

    .prologue
    .line 167
    iput-boolean p1, p0, Lcom/instagram/android/model/ShareLaterMedia;->f:Z

    .line 168
    return-void
.end method

.method public f()Z
    .locals 1

    .prologue
    .line 172
    iget-boolean v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->a:Z

    return v0
.end method

.method public g()Z
    .locals 1

    .prologue
    .line 177
    iget-boolean v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->e:Z

    return v0
.end method

.method public h()Z
    .locals 1

    .prologue
    .line 182
    iget-boolean v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->b:Z

    return v0
.end method

.method public i()Z
    .locals 1

    .prologue
    .line 187
    iget-boolean v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->c:Z

    return v0
.end method

.method public j()Z
    .locals 1

    .prologue
    .line 192
    iget-boolean v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->d:Z

    return v0
.end method

.method public k()Z
    .locals 1

    .prologue
    .line 197
    iget-boolean v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->f:Z

    return v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 3
    .parameter "out"
    .parameter "flags"

    .prologue
    .line 207
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->g:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 208
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->h:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 209
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->i:Lcom/instagram/model/a/a;

    invoke-virtual {v0}, Lcom/instagram/model/a/a;->a()I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeInt(I)V

    .line 210
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->j:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 211
    iget-object v0, p0, Lcom/instagram/android/model/ShareLaterMedia;->k:Lcom/instagram/venue/model/Venue;

    invoke-virtual {p1, v0, p2}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V

    .line 212
    const/4 v0, 0x6

    new-array v0, v0, [Z

    const/4 v1, 0x0

    iget-boolean v2, p0, Lcom/instagram/android/model/ShareLaterMedia;->a:Z

    aput-boolean v2, v0, v1

    const/4 v1, 0x1

    iget-boolean v2, p0, Lcom/instagram/android/model/ShareLaterMedia;->b:Z

    aput-boolean v2, v0, v1

    const/4 v1, 0x2

    iget-boolean v2, p0, Lcom/instagram/android/model/ShareLaterMedia;->c:Z

    aput-boolean v2, v0, v1

    const/4 v1, 0x3

    iget-boolean v2, p0, Lcom/instagram/android/model/ShareLaterMedia;->d:Z

    aput-boolean v2, v0, v1

    const/4 v1, 0x4

    iget-boolean v2, p0, Lcom/instagram/android/model/ShareLaterMedia;->e:Z

    aput-boolean v2, v0, v1

    const/4 v1, 0x5

    iget-boolean v2, p0, Lcom/instagram/android/model/ShareLaterMedia;->f:Z

    aput-boolean v2, v0, v1

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeBooleanArray([Z)V

    .line 219
    return-void
.end method
